package com.oa.entity;

import java.io.Serializable;

import java.util.HashSet;
import java.util.Set;


/**
 * The persistent class for the tbl_roles database table.
 * 
 */
public class TblRole implements Serializable {
	private static final long serialVersionUID = 133L;
	
	private int roleId;

	private String roleAbstract;

	private String roleName;

	private Set<TblRight> rights_box = new HashSet<TblRight>();;

	private Set<TblUser> users = new HashSet<TblUser>();;

	public TblRole() {
	}

	public int getRoleId() {
		return this.roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getRoleAbstract() {
		return this.roleAbstract;
	}

	public void setRoleAbstract(String roleAbstract) {
		this.roleAbstract = roleAbstract;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Set<TblUser> getUsers() {
		return users;
	}

	public void setUsers(Set<TblUser> users) {
		this.users = users;
	}

	public Set<TblRight> getRights_box() {
		return rights_box;
	}

	public void setRights_box(Set<TblRight> rights_box) {
		this.rights_box = rights_box;
	}
}